package com.qf.shop.entity;

import java.util.Date;
import java.util.List;

public class Orders {
    private String id;
    private int uid;
    private int money;
    private int status;//订单的状态
    private Date time;
    private int aid;
    private Address address;//地址
    private List<OrdersDetail> list;//包含多个订单详情。


    public List<OrdersDetail> getList() {
        return list;
    }

    public void setList(List<OrdersDetail> list) {
        this.list = list;
    }

    public Orders() {
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Orders(String id, int uid, int money, int status, Date time, int aid) {
        this.id = id;
        this.uid = uid;
        this.money = money;
        this.status = status;
        this.time = time;
        this.aid = aid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }
}
